﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace ChineseChess.Game
{
    public abstract class Rule
    { 
        /// <summary>
        /// 获取下一步走子位置
        /// </summary>
        /// <param name="pie">当前要走的子</param>
        /// <param name="pies">棋盘局面</param>
        /// <returns></returns>
        public abstract List<Point> getNextPos(Piece pie,List<Piece> pies);
        /// <summary>
        /// 该棋起始是否在棋盘的下方
        /// </summary>
        public abstract bool IsDown
        {
            get;
            set;
        }
    }
}
